package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.SysProjectAlarm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author ：zouRiRi
 * @Date ：Created in 2022/3/31 11:28
 */
public interface SysProjectAlarmMapper {

    SysProjectAlarm selectAlarmByProjectId(long projectId);

    void insertAlarmInformation(SysProjectAlarm sysProjectAlarm);

    void updateAlarmInformation(@Param("overTime") Integer overTime,
                                @Param("id") Long id);

    List<SysProjectAlarm> selectAlarms();

    void deleteAlarm(Long id);
}
